package cn.fintecher.gis.entity;


import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 记录系统的操作日志
 */
@Entity
@Table(name = "log_info")
@Data
public class LogInfo extends BaseEntity {

    @ApiModelProperty(notes = "当前登录人")
    private String userName;

    @ApiModelProperty(notes = "操作时间")
    private Date recordTime;

    @ApiModelProperty(notes = "请求方式")
    private String methodType;

    @ApiModelProperty(notes = "控制器名称")
    private String className;

    @ApiModelProperty(notes = "方法名称")
    private String methodName;

    @ApiModelProperty(notes = "参数")
    private String param;

    @ApiModelProperty(notes = "描述")
    private String remark;

    @ApiModelProperty(notes = "访问ip")
    private String visitIp;
}
